<?php
// <copyright file="AuthenticationType.cs" company="NQtec">
// Copyright (c) 2008, 2009 All Right Reserved, http://www.dqer.com/
// Copyright (c) 2008, 2009 All Right Reserved, http://www.nqtec.com/
//
// This source is part of the DQER library that released under the LGPL.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// </copyright>
// <author>Victor Gatkov</author>
// <email>v.gatkov@nqtec.com</email>
// <email>info@dqer.com</email>
// <date>2008-09-11</date>
// <summary>Contains a base, abstract class for an AuthorisationPolicyProvider</summary>

if(!defined('IN_DQER_003311')){die('');exit;}


// kill it!!!!! separate auth and sign classes !!!!!!

 define(SIGNUP_ALLOW,true);

 if(PGTP=='sign' || PGTP=='signed'){
  require_once(MODULES_PATH."/sign/auth.class.php");
  $auth = new Auth;
  if(DEBUG_LEVEL>=2){echo'# auth class loaded..<br />';}
 }
 if(PGTP=='request' || PGID=='out'){
  require_once(MODULES_PATH."/sign/sign.class.php");
  $sign = new Sign;
  if(DEBUG_LEVEL>=2){echo'# sign class loaded..<br />';}
 }

/*
// it would be auto signin detection sometimes, maybe :)
 if(defined('DB_ACTIVE')){

    if(DEBUG_LEVEL>=2){echo'# db_ceck..<br />';}
 }else{

    if(DEBUG_LEVEL>=2){echo'# zebra_check..<br />';}
 }
*/

?>
